/* ============================================
   ebobr1-obour.css
   صفحة أراضي العبور الجديدة + عارض الصور
   + الأقسام المختصرة (الرئيسية / صفحة الكاش)
   ============================================ */

/* ---------- صفحة أراضي العبور الجديدة ---------- */
.ebobour-listings { width: 100%; padding: 1rem 0; }
.ebobour-container { max-width: 1440px; width: calc(100vw - 2em); margin: 0 auto; display: flex; flex-direction: column; gap: 1.5rem; }
.ebobour-header { text-align: center; }
.ebobour-title { font-size: clamp(1.6rem, 4vw, 2.6rem); font-weight: 900; color: #1F2937; }
.ebobour-title span { color: #0F2A4A; }
.ebobour-subtitle { color: #1F2937; max-width: 750px; margin: .5rem auto 0; line-height: 1.9; }
.ebobour-grid { display: grid; grid-template-columns: 1fr; gap: 1.2rem; align-items: stretch; }
@media (min-width: 900px) { .ebobour-grid { grid-template-columns: repeat(2, 1fr); } }
.ebobour-card { background: #fff; border-radius: 14px; overflow: hidden; box-shadow: 0 10px 10px 0 rgb(33 37 41 / .1); border: 1px solid #eef2f7; border-bottom: 4px solid #0EA5E9; display: flex; flex-direction: column; }
.ebobour-img-wrap { position: relative; }
.ebobour-img-wrap img { width: 100%; aspect-ratio: 1/.62; object-fit: cover; display: block; background: #f1f5f9; }
.ebobour-price { position: absolute; bottom: 12px; right: 12px; background: #0F2A4A; color: #fff; font-weight: 800; padding: .4rem .9rem; border-radius: 999px; font-size: 1.05rem; box-shadow: 0 6px 16px rgb(0 0 0 / .25); }
.ebobour-badge { position: absolute; top: 12px; right: 12px; background: #0EA5E9; color: #fff; font-weight: 700; padding: .25rem .8rem; border-radius: 999px; font-size: .85rem; }
.ebobour-body { padding: 1.1rem 1.1rem 1.2rem; display: flex; flex-direction: column; gap: .7rem; flex: 1; }
.ebobour-card-title { font-size: 1.25rem; font-weight: 800; color: #0F2A4A; line-height: 1.7; }
.ebobour-specs { list-style: none; display: flex; flex-direction: column; gap: .45rem; margin: 0; padding: 0; }
.ebobour-specs li { display: flex; gap: .5rem; align-items: flex-start; line-height: 1.8; color: #1F2937; font-size: .97rem; }
.ebobour-specs i { color: #0284C7; margin-top: .35rem; }
.ebobour-actions { display: grid; grid-template-columns: 1fr 1fr; gap: .6rem; margin-top: auto; padding-top: .5rem; }
.ebobour-btn { display: inline-flex; align-items: center; justify-content: center; gap: .5rem; padding: .7rem .5rem; border-radius: 10px; font-weight: 800; font-family: inherit; font-size: .95rem; border: 1px solid transparent; cursor: pointer; }
.ebobour-btn.wa { background: #22c55e; color: #fff; }
.ebobour-btn.call { background: #fff; border-color: #0EA5E9; color: #0F2A4A; }
.ebobour-btn.map { grid-column: 1 / -1; background: #0F2A4A; color: #fff; }
.ebobour-note { background: #f0f9ff; border: 1px dashed #0EA5E9; border-radius: 12px; padding: 1rem 1.2rem; line-height: 2; color: #0F2A4A; }
.ebobour-gallery { display: grid; grid-template-columns: 1fr; gap: .8rem; }
@media (min-width: 900px) { .ebobour-gallery { grid-template-columns: repeat(3, 1fr); } }
.ebobour-gallery figure { margin: 0; background: #fff; border-radius: 12px; overflow: hidden; border: 1px solid #eef2f7; }
.ebobour-gallery img { width: 100%; aspect-ratio: 1/.8; object-fit: cover; display: block; }
.ebobour-gallery figcaption { padding: .6rem .8rem; font-size: .9rem; color: #334155; line-height: 1.8; }
.ebobour-gallery img, .ebobour-card .ebobour-img-wrap img { cursor: zoom-in; }

/* ---------- عارض الصور Lightbox ---------- */
.eblb-overlay { position: fixed; inset: 0; background: rgba(2,6,23,.93); z-index: 9999; display: none; flex-direction: column; direction: rtl; }
.eblb-overlay.open { display: flex; }
.eblb-topbar { display: flex; align-items: center; justify-content: space-between; padding: .7rem 1rem; color: #fff; }
.eblb-counter { font-weight: 700; font-size: .95rem; }
.eblb-tools { display: flex; gap: .5rem; }
.eblb-btn { width: 42px; height: 42px; border-radius: 10px; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.1); color: #fff; font-size: 1.4rem; font-weight: 800; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; }
.eblb-btn:hover { background: rgba(255,255,255,.25); }
.eblb-stage { flex: 1; position: relative; overflow: hidden; touch-action: none; display: flex; align-items: center; justify-content: center; }
.eblb-stage img { max-width: 100%; max-height: 100%; object-fit: contain; transform-origin: center center; user-select: none; -webkit-user-drag: none; }
.eblb-nav { position: absolute; top: 50%; transform: translateY(-50%); width: 46px; height: 46px; border-radius: 50%; border: 1px solid rgba(255,255,255,.35); background: rgba(255,255,255,.12); color: #fff; font-size: 1.8rem; cursor: pointer; z-index: 2; display: inline-flex; align-items: center; justify-content: center; font-family: inherit; }
.eblb-nav:hover { background: rgba(255,255,255,.28); }
.eblb-prev { right: 10px; }
.eblb-next { left: 10px; }
.eblb-caption { text-align: center; color: #e2e8f0; padding: .6rem 1rem 1rem; font-size: .95rem; line-height: 1.8; }

/* ---------- القسم المختصر في الرئيسية ---------- */
.ebobour-home-grid{display:grid;gap:1.2rem;grid-template-columns:1fr}
@media(min-width:900px){.ebobour-home-grid{grid-template-columns:repeat(2,1fr)}}
.ebobour-home-price{display:inline-block;background:#0F2A4A;color:#fff;font-weight:800;padding:.3rem 1rem;border-radius:999px;margin:.4rem 0}
.ebobour-home-specs{list-style:none;padding:0;margin:.5rem 0;display:flex;flex-direction:column;gap:.3rem;color:#1F2937;font-size:.95rem;line-height:1.8}
.ebobour-home-btns{display:flex;gap:.6rem;margin-top:auto;padding-top:.6rem}
.ebobour-home-btns a{flex:1;text-align:center;padding:.7rem .4rem;border-radius:8px;font-weight:800;font-size:.92rem}
.ebobour-home-details{background:#0F2A4A;color:#fff!important}
.ebobour-home-wa{background:#22c55e;color:#fff!important}
.ebobour-home-more{text-align:center;margin-top:1rem}
.ebobour-home-more a{display:inline-block;background:#fff;border:1px solid #0EA5E9;color:#0F2A4A;font-weight:800;padding:.8rem 2rem;border-radius:10px}

/* ---------- الشريط المختصر في صفحة الكاش ---------- */
.ebobour-strip{background:linear-gradient(135deg,#0F2A4A,#0284C7);border-radius:14px;color:#fff;padding:1.4rem;display:flex;flex-direction:column;gap:.8rem}
.ebobour-strip h2{font-size:clamp(1.2rem,3vw,1.7rem);font-weight:900;line-height:1.8}
.ebobour-strip p{line-height:1.9;opacity:.95}
.ebobour-strip-cards{display:grid;grid-template-columns:1fr;gap:.7rem}
@media(min-width:800px){.ebobour-strip-cards{grid-template-columns:1fr 1fr}}
.ebobour-strip-card{background:#fff;color:#0F2A4A;border-radius:10px;padding:.9rem 1rem;display:flex;flex-direction:column;gap:.4rem;line-height:1.8}
.ebobour-strip-card strong{font-size:1.05rem}
.ebobour-strip-card .price{background:#0F2A4A;color:#fff;border-radius:999px;padding:.15rem .8rem;font-weight:800;display:inline-block;width:fit-content}
.ebobour-strip-actions{display:flex;gap:.6rem;flex-wrap:wrap}
.ebobour-strip-actions a{padding:.7rem 1.4rem;border-radius:9px;font-weight:800}
.ebobour-strip-more{background:#fff;color:#0F2A4A!important}
.ebobour-strip-wa{background:#22c55e;color:#fff!important}
